<template>
    <!--超期管理-->
    <div class="view" :style="{ '--theme': $store.getters.themeColor }">
        <custom-title name="超期管理"></custom-title>
        <el-row>
            <el-table border style="width: 100%" :data="viewDataSouse">
                <el-table-column label="处理环节" prop="provinceName" align="center"></el-table-column>
                <el-table-column label="处理人员" prop="cityName" align="center"></el-table-column>
                <el-table-column label="处理部门" prop="tenantName" align="center"></el-table-column>
                <el-table-column label="接收时间" prop="tenantId" align="center"></el-table-column>
                <el-table-column label="处理时间" prop="warningOrderId" align="center"></el-table-column>
                <el-table-column label="处理时限" prop="alarmBody" align="center"></el-table-column>
                <el-table-column label="是否超期" prop="warningTypeName" align="center"></el-table-column>
                <el-table-column label="超期时长" prop="alarmTime" align="center"></el-table-column>
                <el-table-column label="操作" prop="countyName" align="center"></el-table-column>
            </el-table>
        </el-row>
    </div>
</template>

<script>
import CustomTitle from '@/components/eventManagement/Title.vue'
export default {
    name: 'overdueManagement',
    components: {
        CustomTitle
    },
    props: {
        viewDataSouse: {
            //视图数据源
            type: Array,
            default: []
        }
    },
    methods: {
        headerCellStyle({ row, column, rowIndex, columnIndex }) {
            return (
                'background: #F8F8F8;\n' +
                'border-radius: 5px 0px 0px 0px;\n' +
                'border: 1px solid #EEEEEE;\n' +
                'font-size: 14px;\n' +
                'font-family: PingFangSC-Regular, PingFang SC;\n' +
                'font-weight: 400;\n' +
                'color: #333333;\n' +
                'height: 40px;'
            )
        }
    }
}
</script>

<style lang="scss" scoped>
$theme: var(--theme);
.view {
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    // box-shadow: 0px 10px 12px 3px rgba(213, 210, 233, 0.55);
    border-radius: 8px;
}

// .title-class {
//   display: inline-block;
// }

// .title {
//   height: 3vh;
//   background: $theme;
//   border-radius: 17px;
//   margin-top: 1vh;
//   /*margin-left: 3vh;*/
//   display: flex;
//   align-items: center;
// }

.icon {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    margin-left: 1vh;
    margin-right: 1vh;
}

.title-name {
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #ffffff;
    line-height: 22px;
    margin-right: 2vh;
}

.titleName {
    float: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100%;
    font-size: 10px;
    padding: 0.3vh 0px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #98a0a7;
}

.value {
    float: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100%;
    padding: 0.3vh 0px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #666666;
    display: contents;
}

.el-row {
    margin-bottom: 2vh;
}
</style>
